// 导入http模块
const http=require('http')
// 创建服务器
const sever=http.createServer()
// 为服务器绑定request事件，监听用户的请求
sever.on('request',(req,res)=>{
    console.log("someone is visiting our serve")
})
// 启动服务器,serve.listen(端口号，cb回调函数)
sever.listen(70,()=>{
    console.log("http serve is runing at http://127.0.0.1:70")
})